home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / X11 / xwininfo.z / xwininfo
Text File  |  1998-10-20  |  10KB  |  265 lines

  1.  
  2.  
  3.  
  4.      XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))        XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))         XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xwininfo - window information utility for X
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           xxxxwwwwiiiinnnniiiinnnnffffoooo [-help] [-id _i_d] [-root] [-name _n_a_m_e] [-int]
  13.           [-children] [-tree] [-stats] [-bits] [-events] [-size] [-wm]
  14.           [-shape] [-frame] [-all] [-english] [-metric] [-display
  15.           _d_i_s_p_l_a_y]
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           _X_w_i_n_i_n_f_o is a utility for displaying information about
  19.           windows.  Various information is displayed depending on
  20.           which options are selected.  If no options are chosen,
  21.           ----ssssttttaaaattttssss is assumed.
  22.  
  23.           The user has the option of selecting the target window with
  24.           the mouse (by clicking any mouse button in the desired
  25.           window) or by specifying its window id on the command line
  26.           with the ----iiiidddd option.  Or instead of specifying the window by
  27.           its id number, the ----nnnnaaaammmmeeee option may be used to specify which
  28.           window is desired by name.  There is also a special ----rrrrooooooootttt
  29.           option to quickly obtain information on the screen's root
  30.           window.
  31.  
  32.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  33.           ----hhhheeeellllpppp   Print out the `Usage:' command syntax summary.
  34.  
  35.           ----iiiidddd _i_d  This option allows the user to specify a target
  36.                   window _i_d on the command line rather than using the
  37.                   mouse to select the target window.  This is very
  38.                   useful in debugging X applications where the target
  39.                   window is not mapped to the screen or where the use
  40.                   of the mouse might be impossible or interfere with
  41.                   the application.
  42.  
  43.           ----nnnnaaaammmmeeee _n_a_m_e
  44.                   This option allows the user to specify that the
  45.                   window named _n_a_m_e is the target window on the
  46.                   command line rather than using the mouse to select
  47.                   the target window.
  48.  
  49.           ----rrrrooooooootttt   This option specifies that X's root window is the
  50.                   target window.  This is useful in situations where
  51.                   the root window is completely obscured.
  52.  
  53.           ----iiiinnnntttt    This option specifies that all X window ids should
  54.                   be displayed as integer values.  The default is to
  55.                   display them as hexadecimal values.
  56.  
  57.           ----cccchhhhiiiillllddddrrrreeeennnn
  58.                   This option causes the root, parent, and children
  59.                   windows' ids and names of the selected window to be
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))        XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))         XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))
  71.  
  72.  
  73.  
  74.                   displayed.
  75.  
  76.           ----ttttrrrreeeeeeee   This option is like ----cccchhhhiiiillllddddrrrreeeennnn but displays all
  77.                   children recursively.
  78.  
  79.           ----ssssttttaaaattttssss  This option causes the display of various attributes
  80.                   pertaining to the location and appearance of the
  81.                   selected window.  Information displayed includes the
  82.                   location of the window, its width and height, its
  83.                   depth, border width, class, colormap id if any, map
  84.                   state, backing-store hint, and location of the
  85.                   corners.
  86.  
  87.           ----bbbbiiiittttssss   This option causes the display of various attributes
  88.                   pertaining to the selected window's raw bits and how
  89.                   the selected window is to be stored.  Displayed
  90.                   information includes the selected window's bit
  91.                   gravity, window gravity, backing-store hint,
  92.                   backing-planes value, backing pixel, and whether or
  93.                   not the window has save-under set.
  94.  
  95.           ----eeeevvvveeeennnnttttssss This option causes the selected window's event masks
  96.                   to be displayed.  Both the event mask of events
  97.                   wanted by some client and the event mask of events
  98.                   not to propagate are displayed.
  99.  
  100.           ----ssssiiiizzzzeeee   This option causes the selected window's sizing
  101.                   hints to be displayed.  Displayed information
  102.                   includes: for both the normal size hints and the
  103.                   zoom size hints, the user supplied location if any;
  104.                   the program supplied location if any; the user
  105.                   supplied size if any; the program supplied size if
  106.                   any; the minimum size if any; the maximum size if
  107.                   any; the resize increments if any; and the minimum
  108.                   and maximum aspect ratios if any.
  109.  
  110.           ----wwwwmmmm     This option causes the selected window's window
  111.                   manager hints to be displayed.  Information
  112.                   displayed may include whether or not the application
  113.                   accepts input, what the window's icon window # and
  114.                   name is, where the window's icon should go, and what
  115.                   the window's initial state should be.
  116.  
  117.           ----sssshhhhaaaappppeeee  This option causes the selected window's window and
  118.                   border shape extents to be displayed.
  119.  
  120.           ----ffffrrrraaaammmmeeee  This option causes window manager frames to be
  121.                   considered when manually selecting windows.
  122.  
  123.           ----mmmmeeeettttrrrriiiicccc This option causes all individual height, width, and
  124.                   x and y positions to be displayed in millimeters as
  125.                   well as number of pixels, based on what the server
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))        XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))         XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))
  137.  
  138.  
  139.  
  140.                   thinks the resolution is. Geometry specifications
  141.                   that are in ++++xxxx++++yyyy form are not changed.
  142.  
  143.           ----eeeennnngggglllliiiisssshhhh
  144.                   This option causes all individual height, width, and
  145.                   x and y positions to be displayed in inches (and
  146.                   feet, yards, and miles if necessary) as well as
  147.                   number of pixels. ----mmmmeeeettttrrrriiiicccc and ----eeeennnngggglllliiiisssshhhh may both be
  148.                   enabled at the same time.
  149.  
  150.           ----aaaallllllll    This option is a quick way to ask for all
  151.                   information possible.
  152.  
  153.           ----ddddiiiissssppppllllaaaayyyy _d_i_s_p_l_a_y
  154.                   This option allows you to specify the server to
  155.                   connect to; see _X(_1).
  156.  
  157.      EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  158.           The following is a sample summary taken with no options
  159.           specified:
  160.  
  161.           xwininfo: Window id: 0x60000f "xterm"
  162.  
  163.             Absolute upper-left X: 2
  164.             Absolute upper-left Y: 85
  165.             Relative upper-left X:  0
  166.             Relative upper-left Y:  25
  167.             Width: 579
  168.             Height: 316
  169.             Depth: 8
  170.             Visual Class: PseudoColor
  171.             Border width: 0
  172.             Class: InputOutput
  173.             Colormap: 0x27 (installed)
  174.             Bit Gravity State: NorthWestGravity
  175.             Window Gravity State: NorthWestGravity
  176.             Backing Store State: NotUseful
  177.             Save Under State: no
  178.             Map State: IsViewable
  179.             Override Redirect State: no
  180.             Corners:  +2+85  -699+85  -699-623  +2-623
  181.             -geometry 80x24+0+58
  182.  
  183.  
  184.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  185.           DDDDIIIISSSSPPPPLLLLAAAAYYYY To get the default host and display number.
  186.  
  187.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  188.           X(1), xprop(1)
  189.  
  190.      BBBBUUUUGGGGSSSS
  191.           Using ----ssssttttaaaattttssss ----bbbbiiiittttssss shows some redundant information.
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 4/30/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))        XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))         XXXXWWWWIIIINNNNIIIINNNNFFFFOOOO((((1111))))
  203.  
  204.  
  205.  
  206.           The -geometry string displayed must make assumptions about
  207.           the window's border width and the behavior of the
  208.           application and the window manager.  As a result, the
  209.           location given is not always correct.
  210.  
  211.      AAAAUUUUTTTTHHHHOOOORRRR
  212.           Mark Lillibridge, MIT Project Athena
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 4/30/98)
  262.  
  263.  
  264.  
  265.